package com.example.demo.day.config.learn.design.factory.x2;

import com.example.demo.day.config.learn.design.factory.x1.Car;

public interface CarFactory<T extends Car> {
    String RED = "red";
    String GREEN = "green";
    String BLUE = "blue";

    T create(String color);
}
